from django.urls import path
from .views import *

urlpatterns = [
    # 商品列表页路由， 域名/应用名/.html
    path('.html', commodityView, name="commodity"),
    # 商品详情页面，域名/detail。123.html
    path('detail.<int:id>.html', detailView, name="detail"),
    # path('/detail.<int:id>.html', detailView, name="detail"),
    path('collect.html', collectView, name="collect")
]